import java.net.*;

public interface ISocket {
	public void send(Message data);
	public Message receive();
	public InetAddress getLocalAddress();
	public int getLocalPort();
	public void close();
	public boolean isAlive();
	public String type();
	
}
